﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class ptc_Payment_Gridview : DataObject
    {
        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } } private string _ID; public static FieldInfo iD = new FieldInfo("ptc_Payment_Gridview", "ID");
        [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } } private string _Process; public static FieldInfo process = new FieldInfo("ptc_PaymentTermChange", "Process");
        [Column]
        public int Incident { get { return _Incident; } set { _Incident = value; EntityState.FieldChange("Incident"); } } private int _Incident; public static FieldInfo incident = new FieldInfo("ptc_PaymentTermChange", "Incident");
        [Column]
        public string UserName { get { return _UserName; } set { _UserName = value; EntityState.FieldChange("UserName"); } } private string _UserName; public static FieldInfo userName = new FieldInfo("ptc_PaymentTermChange", "UserName");
        [Column]
        public int No { get { return _No; } set { _No = value; EntityState.FieldChange("No"); } } private int _No; public static FieldInfo no = new FieldInfo("ptc_PaymentTermChange", "No");
        [Column]
        public string SAP_Code { get { return _SAP_Code; } set { _SAP_Code = value; EntityState.FieldChange("SAP_Code"); } } private string _SAP_Code; public static FieldInfo sAP_Code = new FieldInfo("ptc_PaymentTermChange", "SAP_Code");
        [Column]
        public string Name { get { return _Name; } set { _Name = value; EntityState.FieldChange("Name"); } } private string _Name; public static FieldInfo name = new FieldInfo("ptc_PaymentTermChange", "Name");
        [Column]
        public string Payment_Term { get { return _Payment_Term; } set { _Payment_Term = value; EntityState.FieldChange("Payment_Term"); } } private string _Payment_Term; public static FieldInfo payment_Term = new FieldInfo("ptc_PaymentTermChange", "Payment_Term");
        [Column]
        public string Remark { get { return _Remark; } set { _Remark = value; EntityState.FieldChange("Remark"); } } private string _Remark; public static FieldInfo remark = new FieldInfo("ptc_PaymentTermChange", "Remark");
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("ptc_PaymentTermChange", "Time");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("ptc_PaymentTermChange", "Status");

    }
}
